export{}

class Person {
    public readonly _name: string
    constructor(public name: string) {
        this._name = name
    }
}

const person = new Person('anzia')
console.log(person._name);

abstract class Girl {
    abstract skill();
}

class Waiter extends Girl {
    skill() {
        console.log('waiter');
    }
}

class BaseTeacher extends Girl {
    skill() {
        console.log('baseteacher');
    }
}

class seniorTeacher extends Girl {
    skill() {
        console.log('seniorteacher');
    }
}